package com.wlyy.bcwlw.sys.audit.dao;

import org.springframework.stereotype.Repository;

import com.rework.joss.persistence.convention.BaseDao;
import com.wlyy.bcwlw.sys.audit.entity.UnprotectUrlDTO;
@Repository
public class UnprotectUrlDAO extends BaseDao<UnprotectUrlDTO, Integer> {

	
	public void createIgnoreExist(UnprotectUrlDTO dto) {
		
		if(count(new UnprotectUrlDTO(dto.getUrl())) == 0) {
			create(dto);
		}
		
	}
}
